module Greenfire
{
	imports
	{
		Base
	}

   	recipe Make Fly Cure
	{
        	farming.GardeningSprayEmpty,
        	Water=3,
		Tobacco/BluntWrap,
		Tobacco/BluntWrap,
		Tobacco/BluntWrap,
		Tobacco/BluntWrap,
		Tobacco/BluntWrap,

		Result:farming.GardeningSprayCigarettes,
		Time:40.0,
		NeedToBeLearn:true,
		Category:Farming,
	}

   	recipe Make Fly Cure from Regular Cigs
	{
        	farming.GardeningSprayEmpty,
        	Water=3,
		Cigs.CigsCigaretteReg=5,

		Result:farming.GardeningSprayCigarettes,
		Time:40.0,
		NeedToBeLearn:true,
		Category:Farming,
	}

   	recipe Make Fly Cure from Gold Cigs
	{
        	farming.GardeningSprayEmpty,
        	Water=3,
		Cigs.CigsCigaretteGold=5,

		Result:farming.GardeningSprayCigarettes,
		Time:40.0,
		NeedToBeLearn:true,
		Category:Farming,
	}

   	recipe Make Fly Cure from Lite Cigs
	{
        	farming.GardeningSprayEmpty,
        	Water=3,
		Cigs.CigsCigaretteLite=5,

		Result:farming.GardeningSprayCigarettes,
		Time:40.0,
		NeedToBeLearn:true,
		Category:Farming,
	}

   	recipe Make Fly Cure from Menthol Cigs
	{
        	farming.GardeningSprayEmpty,
        	Water=3,
		Cigs.CigsCigaretteMent=5,

		Result:farming.GardeningSprayCigarettes,
		Time:40.0,
		NeedToBeLearn:true,
		Category:Farming,
	}

   	recipe Make Fly Cure from Cigar Leaf
	{
        	farming.GardeningSprayEmpty,
        	Water=3,
		CigarLeaf,

		Result:farming.GardeningSprayCigarettes,
		Time:40.0,
		NeedToBeLearn:true,
		Category:Farming,
	}

	item FreshBTobacco
	{
		Weight	=	2.0,
		Type	=	Normal,
		DisplayName	=	Fresh Stalk of Tobacco,
		Icon	=	FreshBTobacco,
	}

	item DryBTobacco
	{
		Weight	=	1.0,
		Type	=	Normal,
		DisplayName	=	Dry Stalk of Tobacco,
		Icon	=	DryBTobacco,
	}

	recipe Cut Tobacco
	{
		DryBTobacco,
		keep Scissors/KitchenKnife/HuntingKnife,
		Result:Tobacco=20,
		OnCreate:CutTobacco,
		Time:120.0,
	}

	recipe Open Blunt Cigar
	{
		BluntCigar,
		keep KitchenKnife/HuntingKnife/Scissors,
		Result:Tobacco=2,
		OnCreate:OpenBlunt,
		Time:20.0
	}
	
	recipe Open Pack of Cigarettes
	{
		GFCigarettes,
		Override:TRUE,
		Result:Cigs.CigsPackOpenReg,
		//RemoveResultItem:true,
		Time:10.0,
		//OnCreate:GF_GiveGFCigs,
		OnTest:Check_noHydrocraft,
	}

	recipe Open Pack of Cigarettes
	{
		GFCigarettes,
		Result:Cigs.CigsPackOpenReg,
		//RemoveResultItem:true,
		Time:10.0,
		//OnCreate:GF_GiveCigs,
		OnTest:Check_Hydrocraft,
	}

	item GFCigarettes
	{
		Weight	=	0.02,
		Type	=	Normal,
		DisplayName	=	Pack of Cigarettes,
		Icon	=	IckySticks,
		Override = TRUE,
	}

	recipe Place Cigarettes into Pack
	{
		GFCigarette=20,
		CigsEmptyPackReg,
		Override:TRUE,
		Result:Cigs.CigsClosedPackReg,
		Time:10.0,
		OnTest:Check_noHydrocraft,
	}

	recipe Place Cigarettes into Pack
	{
		GFCigarette=20,
		CigsEmptyPackReg,
		Override:TRUE,
		Result:Cigs.CigsClosedPackReg,
		Time:10.0,
		OnTest:Check_Hydrocraft,
	}

	recipe Place Cigarettes into Pack
	{
		Cigarettes=20,
		CigsEmptyPackReg,
		Override:TRUE,
		Result:Cigs.CigsClosedPackReg,
		Time:10.0,
		OnTest:Check_SmokerMod_TestIsValid,
	}

	recipe Pack Bag of Tobacco
	{
		Tobacco=100,
		
		Result:PipeTobaccoBag,
		Time:20.0,
	}

	item GFCigarette
	{
		HungerChange	=	0,
		Weight	=	0.0015,
		RequireInHandOrInventory	=	Lighter/Matches,
		Type	=	Food,
		DisplayName	=	Cigarette,
		StressChange	=	-1,
		Icon	=	IckySticks,
		CustomContextMenu = Smoke,
		CantBeFrozen = TRUE,
		OnEat = OnEat_Cigarettes,
		CustomEatSound =	GF_LightUp,
		StaticModel = Cigarette,
		EatType = Cigarettes,
	}

	item BluntCigar
	{
		HungerChange	=	0,
		Weight	=	0.0045,
		RequireInHandOrInventory	=	Lighter/Matches,
		Type	=	Food,
		DisplayName	=	Blunt Cigar,
		BoredomChange	=	-8,
		StressChange	=	-3,
		Icon	=	BluntCigar,
		CustomContextMenu = Smoke,
		CantBeFrozen = TRUE,
		OnEat = OnSmoke_Cigar,
		CustomEatSound =	GF_LightUp,
		StaticModel = Cigarette,
		EatType = Cigarettes,
	}

	item HalfBluntCigar
	{
		HungerChange	=	0,
		Weight	=	0.00225,
		RequireInHandOrInventory	=	Lighter/Matches,
		Type	=	Food,
		DisplayName	=	Half of a Blunt Cigar,
		BoredomChange	=	-6,
		StressChange	=	-2,
		Icon	=	HalfBlunt,
		CustomContextMenu = Smoke,
		CantBeFrozen = TRUE,
		OnEat = OnSmoke_Cigar,
		CustomEatSound =	GF_LightUp,
		StaticModel = Cigarette,
		EatType = Cigarettes,
	}

	item BluntWrap
	{
		Weight	=	0.001,
		Type	=	Normal,
		DisplayName	=	Blunt Wrap,
		Icon	=	BluntWrap,
	}

	recipe Make Blunt Wrap
	{
		CigarLeaf,
		keep Scissors,
		Water=1,
		Flour=1,
		Result:BluntWrap=2,
		NeedToBeLearn:true,
		OnCreate:MakeWrap,
		Time:40.0,
	}
	
	recipe Crush Blunt Wrap
	{
		BluntWrap,
		Result:Tobacco,
		Time:10.0,
	}

	recipe Roll Blunt Cigar
	{
		Tobacco=2,
		BluntWrap,

		Result:BluntCigar,
		Time:120.0,
	}

	item UncuredCigar
	{
		Weight	=	0.04,
		Type	=	Normal,
		DisplayName	=	Uncured Cigar,
		Icon	=	GFCigar,
	}
	
	item CigarLeaf
	{
		Weight	=	0.01,
		Type	=	Normal,
		DisplayName	=	Cigar Leaf,
		Icon	=	CigarLeaf,
	}

	item GFCigar
	{
		HungerChange	=	0,
		Weight	=	0.02,
		RequireInHandOrInventory	=	Lighter/Matches,
		Type	=	Food,
		DisplayName	=	Cigar,
		BoredomChange	=	-20,
		StressChange	=	-10,
		Icon	=	GFCigar,
		CustomContextMenu = Smoke,
		CantBeFrozen = TRUE,
		OnEat = OnSmoke_Cigar,
		CustomEatSound =	GF_LightUp,
		StaticModel = Cigarette,
		EatType = Cigarettes,
	}
	
	recipe Roll Cigar
	{
		CigarLeaf=4,
		Water=1,
		Flour=1,
		Result:UncuredCigar,
		NeedToBeLearn:true,
		OnCreate:RollCigar,
		Time:120.0,
	}

	item HalfCigar
	{
		HungerChange	=	0,
		Weight	=	0.01,
		RequireInHandOrInventory	=	Lighter/Matches,
		Type	=	Food,
		DisplayName	=	Half of a Cigar,
		BoredomChange	=	-20,
		StressChange	=	-10,
		Icon	=	HalfCigar,
		CustomContextMenu = Smoke,
		CantBeFrozen = TRUE,
		OnEat = OnSmoke_Cigar,
		CustomEatSound =	GF_LightUp,
		StaticModel = Cigarette,
		EatType = Cigarettes,
	}

	item GFCigaretteCase
	{
		Weight	=	10.0,
		Type	=	Normal,
		DisplayName	=	Case of Cigarettes,
		Icon	=	GFCigaretteCase,
	}

	recipe Open Cigarette Case
	{
		GFCigaretteCase,
		Override:TRUE,
		Result:Cigs.CigsCartonReg = 10,
		Time:10.0,
		OnTest:Check_noHydrocraft,
		OnCreate:ReturnCardboardBox,
	}

	recipe Open Cigarette Case
	{
		GFCigaretteCase,
		Override:TRUE,
		Result:Cigs.CigsCartonReg = 10,
		Time:10.0,
		OnTest:Check_Hydrocraft,
		OnCreate:ReturnCardboardBox,
	}
	
	recipe Place Cigarette Cartons into Case
	{
		GFCigaretteCarton=10,
		Base.Mov_CardboardBox,
		Override:TRUE,
		Result:Cigs.CigsCaseReg,
		Time:10.0,
	}

	recipe Place Cigarette Cartons into Case
	{
		Hydrocraft.HCCigarettecarton=10,
		Base.Mov_CardboardBox,
		Override:TRUE,
		Result:Cigs.CigsCaseReg,
		Time:10.0,
		OnTest:Check_Hydrocraft,
	}

	item GFCigaretteCarton
	{
		Weight	=	0.2,
		Type	=	Normal,
		DisplayName	=	Carton of Cigarettes,
		Icon	=	GFCigaretteCarton,
	}

	item GFEmptyCigaretteCarton
	{
		Type	=	Normal,
		Weight	=	0.01,
		DisplayName	= Empty Carton of Cigarettes,
		Icon	=	GFCigaretteCarton,
	}

	item GFUsedCigaretteCarton
	{
		Weight	=	0.1,
		Type	=	Normal,
		DisplayName	= Used Carton of Cigarettes,
		Icon	=	GFCigaretteCarton,
	}
	
	recipe Open Cigarette Carton
	{
		GFCigaretteCarton,
		Override:TRUE,
		Result:Cigs.CigsClosedPackReg=10,
		OnTest:Check_noHydrocraft,
		Time:10.0,
	}

	recipe Open Used Cigarette Carton
	{
		GFUsedCigaretteCarton,
	
		Result:GFEmptyCigaretteCarton,
		RemoveResultItem:true,
		OnCreate:Create_Cigs,
		OnTest:Check_noHydrocraft,
		Time:10.0,
	}

	recipe Open Cigarette Carton
	{
		GFCigaretteCarton,
		Override:true,
		Result:Cigs.CigsClosedPackReg=10,
		OnTest:Check_Hydrocraft,
		Time:10.0,
	}

	recipe Open Used Cigarette Carton
	{
		GFUsedCigaretteCarton,
	
		Result:GFEmptyCigaretteCarton,
		RemoveResultItem:true,
		OnCreate:Create_HCCigs,
		OnTest:Check_Hydrocraft,
		Time:10.0,
	}

	recipe Place Cigarette Packs into Carton
	{
		GFCigarettes=10,
		Override:true,
		Result:Cigs.CigsCartonReg,
		OnTest:Check_noHydrocraft,
		Time:10.0,
	}

	recipe Place Cigarette Packs into Carton
	{
		GFCigarettes=10,
		Override:true,
		Result:Cigs.CigsCartonReg,
		OnTest:Check_Hydrocraft,
		Time:10.0,
	}

	item Tobacco
	{
		HungerChange 	=	0,
		Weight	=	0.001,
		Type	=	Normal,
		DisplayName	=	Tobacco,
		Icon	=	Tobacco,
	}

	item TobaccoBong
	{
		HungerChange		 	=	0,
		Weight				=	0.7,
		RequireInHandOrInventory	=	Lighter/Matches,
		Type				=	Food,
		DisplayName			=	Bong loaded with Tobacco,
		StressChange			=	-2,
		Icon				=	Bong,
		CustomContextMenu		=	Smoke,
		CantBeFrozen			=	TRUE,
		OnEat				=	OnEat_Tobacco,
		ReplaceOnUse			=	Bong,
		CustomEatSound 			= 	Bong,
		StaticModel 			= 	Bong,	
	}

	item TobaccoPipe
	{
		HungerChange		 	=	0,
		Weight				=	0.1,
		RequireInHandOrInventory	=	Lighter/Matches,
		Type				=	Food,
		DisplayName			=	Smoking Pipe filled with Tobacco,
		StressChange			=	-2,
		Icon				=	SmokingPipe,
		CustomContextMenu		=	Smoke,
		CantBeFrozen			=	TRUE,
		OnEat				=	OnEat_Tobacco,
		ReplaceOnUse			=	SmokingPipe,
		CustomEatSound			=	GF_LightUp,
	}

	item TobaccoSeed
	{
		Type				=		Normal,
		DisplayName			=		Tobacco Seeds,
		Icon				=		TZ_StrewberrySeeds,
		Weight				=		0.001,
	}

	item TobaccoBagSeed
	{
		Type				=		Normal,
		DisplayName			=		Tobacco Seeds Packet,
		Icon				=		SeedpackTobacco,
		Weight				=		0.1,
	}
	
	item PipeTobaccoBag
	{
		Type		=	Normal,
		DisplayName	=	Bag of Tobacco,
		Icon		=	TobaccoBag,
		Weight		=	0.1,
	}

	recipe Unload Tobacco from Bong
	{
		destroy TobaccoBong,

		Result:Tobacco,
		Time:30.0,
		OnCreate:DumpBong_OnCreate,
	}

	recipe Unload Tobacco from Smoking Pipe
	{
		destroy TobaccoPipe,

		Result:Tobacco,
		Time:30.0,
		OnCreate:DumpPipe_OnCreate,
	}

	recipe Load Bong with Tobacco
	{
		Bong,
		Tobacco,

		Result:TobaccoBong,
		Time:60.0,
	}

	recipe Fill Smoking Pipe with Tobacco
	{
		SmokingPipe,
		Tobacco,

		Result:TobaccoPipe,
		Time:60.0,
	}

	recipe Open Bag of Tobacco
	{
		PipeTobaccoBag,
		
		Result:Tobacco=100,
		Time:20.0,
	}

	recipe Open Packet of Tobacco Seeds
	{
		TobaccoBagSeed,

		Result:TobaccoSeed=18,
		Time:20.0,
		Category:Farming,
	}

	recipe Put Tobacco Seeds in Packet
	{
		TobaccoSeed=18,

		Result:TobaccoBagSeed,
		Time:10.0,
		Category:Farming,
	}

	recipe Roll Cigarette
	{
		Tobacco,
		RollingPapers=1,
		Override:TRUE,
		Result:Cigs.CigsCigaretteReg,
		OnTest:Check_noHydrocraft,
		Time:120.0,
	}

	recipe Roll Cigarette
	{
		Tobacco,
		RollingPapers=1,
		Obsolete:true,
		Result:Cigarettes,
		OnTest:Check_Hydrocraft,
		Time:120.0,
	}

	recipe Break Cigarette
	{
		Cigarettes,
		Obsolete:TRUE,
		Result:Tobacco,
		//OnTest:Check_noSmokerM,
		Time:20.0,
	}

	recipe Break Cigarette
	{
		Cigarettes,
		Obsolete:TRUE,
		Result:Tobacco,
		//OnTest:Check_noSmokerM,
		Time:20.0,
	}

	recipe Break Regular Cigarette
	{
		Cigs.CigsCigaretteReg,
		
		Result:Tobacco,
		Time:20.0,
	}

	recipe Break Lite Cigarette
	{
		Cigs.CigsCigaretteLite,
		
		Result:Tobacco,
		Time:20.0,
	}

	recipe Break Menthol Cigarette
	{
		Cigs.CigsCigaretteMent,
		
		Result:Tobacco,
		Time:20.0,
	}

	recipe Break Gold Label Cigarette
	{
		Cigs.CigsCigaretteGold,
		
		Result:Tobacco,
		Time:20.0,
	}
}